<?php

namespace App\Domain\Address\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\VillageModel
 *
 * @property int $id
 * @property string $uid 唯一标识uid
 * @property string $code 行政编码
 * @property string $name 村名称
 * @property string $province_code 省code
 * @property string $city_code 市code
 * @property string $area_code 区code
 * @property string $town_code 镇code
 * @property int $village_type 1小区 2乡村
 * @property string $info 备注
 * @property int $sort 排序
 * @property int $state 是否启用 0：未启用 1：已启用
 * @property int $status 是否删除 0：已删除 1：正常
 * @property string $create_account_uid 创建用户uid
 * @property \Illuminate\Support\Carbon $create_time 创建时间
 * @property string $modify_account_uid 修改用户uid
 * @property \Illuminate\Support\Carbon $modify_time 创建时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereAreaCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereCityCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereCreateAccountUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereCreateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereInfo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereModifyAccountUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereModifyTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereProvinceCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereTownCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereVillageType($value)
 * @mixin \Eloquent
 * @property string $phonetic_code 村拼音码（名称首字母）
 * @property string $province_name 省名称
 * @property string $city_name 市名称
 * @property string $area_name 区名称
 * @property string $town_name 镇名称
 * @property int $source 信息来源1本地添加2pad
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereAreaName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereCityName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel wherePhoneticCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereProvinceName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereSource($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Domain\Address\Models\VillageModel whereTownName($value)
 */
class VillageModel extends Model
{
    protected $table = 'village';

    const CREATED_AT = 'create_time';

    const UPDATED_AT = 'modify_time';

    public $guarded = [];
}
